<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
        <script src="/guxuan/Public/js/jquery.js"></script>
        <link rel="stylesheet" href="/guxuan/Public/css/Users/Users-personal.css" />
        <link rel="stylesheet" href="/guxuan/Public/css/commonc.css" />
        <script src="/guxuan/Public/js/Users/personal.js"></script>
         <script src="/guxuan/Public/js/index.js"></script>
	</head>
	<body>
		 <link rel="stylesheet" href="/guxuan/Public/css/fileadd.css">
<link rel="stylesheet" href="/guxuan/Public/css/Common/header.css" />
<header id="header">
	<h2>个人空间</h2>
	<ul>
		<li class="header-left"><a href="###">个人中心</a></li>
		<li class="header-left myHome"><a href="# ##">我的主页</a></li>
		<li class="header-left"><a href="###">好友</a></li>
		<li class="header-left"><a href="###">游戏</a></li>
		<li class="header-left"><a href="###">装扮</a></li>
		<?php if(!empty($tx)): ?><li class="header-right"><a href="<?php echo U('Users/clearUser');?>" class="zx">注消</a></li><?php endif; ?>
		<li class="header-right"><a href="###" class="grzxclick" title="<?php echo ($tx["nickname"]); ?>"><?php if(!empty($_SESSION['user_id'])): echo ($tx["nickname"]); ?>aaaa<?php else: ?><a href="<?php echo U('Users/UserLogin');?>">亲,请登陆</a><?php endif; ?></a></li>
		<li class="header-right tx">
			<a href="###">
				<img src="<?php echo ($tx["user_tx"]); ?>" alt="" class="tximg"/>
			</a>
		</li>
		<li class="header-right">
			<input type="text" list="card" placeholder="游戏/动态/用户">
			<datalist id="card">
				<option value="1"></option>
				<option value="1"></option>
				<option value="1"></option>
			</datalist>
			<a href="###" class="seach"></a>
		</li>
	</ul>
</header>
	<div class="grzx">
		<ul>
			<li><a href="<?php echo U('Userperconal/perconal',array('uid'=>$_SESSION['user_id']));?>">个人资料</a></li>
			<li><a href="###">1</a></li>
			<li><a href="###">3</a></li>
			<li><a href="###">4</a></li>
			<li><a href="###">5</a></li>
		</ul>
	</div>
	<div class="header-fs header-fs-show header-fs-none" id="header-fs">
		<div class="header-fs-left">
			<h2>我的主页</h2>
		</div>
		<div class="header-fs-center"></div>
		<div class="header-fs-right">
			<figure>
                <a href="###" class="image1"></a>
                <figcaption>
                   	相册
                </figcaption>         
            </figure>
            <figure>
                <a href="###" class="image2"></a>
                <figcaption>
                  	主页
                </figcaption>         
            </figure>
            <figure>
                <a href="###" class="image3"></a>
                <figcaption>
                	    说说
                </figcaption>         
            </figure>
            <figure>
                <a href="###" class="image3"></a>
                <figcaption>
                  	  说说
                </figcaption>         
            </figure>
            <figure>
                <a href="###" class="image3"></a>
                <figcaption>
                   	 说说
                </figcaption>         
            </figure>
		</div>
	</div>

<div style="height:45px;"></div>
<div class="header-nav">
    <ul class="grd-nav">
        <li><a href="<?php echo U('Index/index');?>">主页</a></li>
        <li><a href="###">日志</a></li>
        <li><a href="###">相册</a></li>
        <li><a href="###">说说</a></li>
        <li><a href="###">留言板</a></li>
        <li><a href="###">个人档</a></li>
        <li><a href="###">音乐</a></li>
    </ul>
</div>
		<div id="content">
			<div class="content-left">
				<ul class="per-list">
					<li class="prelist-li">个人资料<i>&gt;</i></li>
					<li class="Jurisdiction-li">空间权限</li>
					<li>头像设置</li>
					<li>空间资料</li>
					<li>我的爱好</li>
					<li>空间权限</li>
				</ul>
			</div>
			<div class="content-right">
				<div class="prelist">
					<h3>个人资料</h3>
					<div class="group">
						<div class="group-label">
							<label for="nickname">昵称:</label>
						</div>
						<div class="group-input">
							<input type="text" id="nickname" name="nickname" value="<?php echo ($tx["nickname"]); ?>" autofocus maxlength="6"   />
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="phone">手机:</label>
						</div>
						<div class="group-input">
							<input type="text" id="phone" name="phone" value="<?php echo ($tx["phone"]); ?>" />
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="phone">性别:</label>
						</div>
						<div class="group-input">
							<select name="sex" id="sex">
								<option value="1" <?php if($tx["sex"] == 1): ?>selected="selected"<?php endif; ?>>男</option>
								<option value="2"<?php if($tx["sex"] == 2): ?>selected="selected"<?php endif; ?>>女</option>
							</select> 
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label>出生日期:</label>
						</div>
						<div class="group-input">
							 <input id="start" type="date" value="<?php echo ($tx["bsd"]); ?>"> 
						</div>
					<div class="group">
						<div class="group-label">
							<label for="email">常用邮箱:</label>
						</div>
						<div class="group-input">
							<input type="email" name="email" id="email" value="<?php echo ($tx["email"]); ?>" />
						</div>
					</div>	
					<div class="group">
						<div class="group-label">
							<label for="autograph">个性签名:</label>
						</div>
						<div class="group-input">
							<textarea name="autograph" id="autograph" placeholder="<?php echo ($tx["autograph"]); ?>"></textarea>
						</div>
					</div>
					<div class="group">
						<div class="group-label">
							<label for="occupation">职业:</label>
						</div>
						<div class="group-input">
							<input type="text" name="occupation"  id="occupation"  value="<?php echo ($tx["occupation"]); ?>"/>
						</div>
					</div>
					<div class="group">
						<input type="hidden" id="uid" name="uid" value="<?php echo ($uid); ?>" />
						<button id="button" title="<?php echo U('Userperconal/addPerconal');?>">提交</button>
					</div>
				</div>
			</div>
			<div class="Jurisdiction" style="display:none;">
				<h3>空间权限</h3>
				<div class="tswz">
					你当前权限是<?php echo ($jurList["type_name"]); ?>
				</div>
				<?php if(is_array($qx)): foreach($qx as $key=>$vo): ?><div class='qxsz <?php if($vo['id'] == $jurList['id']): ?>qxszclick<?php endif; ?>' url="<?php echo U('Userperconal/upJurisdiction');?>" qx-id="<?php echo ($vo["id"]); ?>"><?php echo ($vo["type_name"]); ?></div><?php endforeach; endif; ?>
			</div>
			<div class="touxiang" style="display:none;">
				<h3>头像设置</h3>
				<div class="xuanze">
					<ul class="touxiangxz">
						<?php if(is_array($touxiang)): foreach($touxiang as $key=>$vo): ?><li>
								<figure>
									<img src="/guxuan<?php echo ($vo["imgpath"]); ?>"/>
									<figcaotion><?php echo ($vo["imgname"]); ?></figcaotion>
								</figure>
							</li><?php endforeach; endif; ?>
					</ul>
					<div class="button-touxiang">
						<input type="button" value="提交" class="button" data-url="<?php echo U('Userperconal/addtouxiang');?>"/>
					</div>
				</div>
			</div>
		</div>
		<input type="hidden" name="uid" id="user_id" url="<?php echo U('Userperconal/upJurisdiction');?>" value="<?php echo (session('user_id')); ?>" />
	</body>
</html>